package co.baiku.boot.message;

import co.baiku.boot.type.WeixinMenuButtonType;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class WeixinMenuButton {
    private WeixinMenuButtonType type;
    private String appid;
    private String pagepath;
    private String name;
    private String key;
    private String url;
    private List<WeixinMenuButton> sub_button;

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getPagepath() {
        return pagepath;
    }

    public void setPagepath(String pagepath) {
        this.pagepath = pagepath;
    }

    public WeixinMenuButtonType getType() {
        return type;
    }

    public void setType(WeixinMenuButtonType type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public List<WeixinMenuButton> getSub_button() {
        return sub_button;
    }

    public void setSub_button(List<WeixinMenuButton> sub_button) {
        this.sub_button = sub_button;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }


}
